<time> : Insert Time

Inserts formatted time information (e.g., 2:09 AM) into the currently active window.

Syntax:

<time>(Shift, HourLZ, MinuteLZ, AmPm, TimeBase,"SaveToVariable")

Shift
The time shift in minutes relative to the current time.  0 for no shift, -1 for time one minute back, +1 for time one minute later, etc. 
Can be a number or variable containing numeric value.

HourLZ
If 1, the hour is displayed with leading zero (e.g., 02).  If 0, the hour is displayed without leading zero (e.g., 2).
Can be a number or variable containing numeric value.

MinuteLZ
If 1, the minute is displayed with leading zero (e.g., 09).  If 0, the minute is displayed without leading zero (e.g., 9).
Can be a number or variable containing numeric value.

AmPm
If 1, "AM" (or "PM") is displayed next to the time (e.g., 2:09 AM).  It is not displayed If AmPm is 0.
Can be a number or variable containing numeric value.

TimeBase
If 0, the 24 hours time base is used.  If 1, the 12 hours time base is used.

SaveToVariable
Variable that receives the time.  If this variable name is an empty string, the time is send to active application as a set of keystrokes.

Example:

<#> Run this macro in Notepad:
Current time (24-hours base, no AM/PM) is: <time>(0,1,1,0,0,"")
Current time (12-hours base, with AM/PM) is: <time>(0,1,1,1,1,"")